package com.nachuan.pdd.entity;

import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class PddTokenInfo {
	@JsonProperty("access_token")
	private String accessToken;
	@JsonProperty("expires_at")
	private Long expiresAt;
	@JsonProperty("expires_in")
	private Integer expiresIn;
	@JsonProperty("owner_id")
	private String ownerId;
	@JsonProperty("owner_name")
	private String ownerName;
	@JsonProperty("r1_expires_at")
	private Long r1ExpiresAt;
	@JsonProperty("r1_expires_in")
	private Integer r1ExpiresIn;
	@JsonProperty("r2_expires_at")
	private Long r2ExpiresAt;
	@JsonProperty("r2_expires_in")
	private Integer r2ExpiresIn;
	@JsonProperty("refresh_token")
	private String refreshToken;
	@JsonProperty("refresh_token_expires_at")
	private Long refreshTokenExpiresAt;
	@JsonProperty("refresh_token_expires_in")
	private Integer refreshTokenExpiresIn;
	@JsonProperty("scope")
	private List<String> scope;
	@JsonProperty("w1_expires_at")
	private Long w1ExpiresAt;
	@JsonProperty("w1_expires_in")
	private Integer w1ExpiresIn;
	@JsonProperty("w2_expires_at")
	private Long w2ExpiresAt;
	@JsonProperty("w2_expires_in")
	private Integer w2ExpiresIn;
}
